#ifndef __SNAKE_H__

#define __SNAKE_H__

typedef struct Position
{
	int x;
	int y;
}Position;

typedef struct Node
{
	Position position;
	struct Node *next;
}Node;

enum Direction
{
	UP,
	DOWN,
	RIGHT,
	LEFT
};

typedef struct Snake
{
	enum Direction direction;
	Node * head;
	int length;
}Snake;

typedef struct Game
{
	int score;
	int scorePreFood;

	int sleeptime;
	Snake snake;
	Position FoodPosition;
	
}Game;


#endif // !__SNAKE_H__
